<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table border="1">
<tr>
<td>id</td>
<td>from</td>
<td>to</td>
<td>body</td>
<td>provider</td>
<td>date</td>
<td>incoming</td>
<td>properties</td>
</tr>
<c:forEach var="sms" items="${allsms }">
<tr>
<td>${sms.id }</td>
<td>${sms.from }</td>
<td>${sms.to }</td>
<td>${sms.body }</td>
<td>${sms.provider }</td>
<td>${sms.date }</td>
<td>${sms.isIncoming }</td>
<td>${sms.properties }</td>
</tr>	 
</c:forEach>
</table>
</body>
</html>